<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome</title>
<link rel="stylesheet" type="text/css" href="/LearningDansk/CSS/style.css">
</head>
<body>
	<img alt="Awsesome Learning Software" src="/LearningDansk/images/als.png" />
	
	<h3>Login</h3>
	<a href="/LearningDansk/Translate">Go to the app</a>
	<form method='post' action='j_security_check'>
		Username: <input type='text' name='j_username'><br /><br />
		Password: <input type='password' name='j_password'><br /><br />
		<input type="submit" value="login">
	</form>
	<div id="errorMessage"><% if(null != request.getSession().getAttribute("errorMessage")) out.print(request.getSession().getAttribute("errorMessage"));
										 request.getSession().removeAttribute("errorMessage"); %>
	</div>
</body>
</html>